package service.reader.impl;

import dao.reader.RegisterDao;
import dao.reader.impl.RegisterDaoImpl;
import entity.Borrow_card;
import service.reader.RegisterService;

/**
 * RegisterServiceImpl
 *
 * @author lenovo
 * @since 2023/9/7
 */
public class RegisterServiceImpl implements RegisterService {

    RegisterDao dao = new RegisterDaoImpl();

    @Override
    public int add(String username, String password) {
        return dao.add(username,password);
    }



    @Override
    public Borrow_card getId(String password, String reader) {
        return dao.getId(password, reader);
    }
}
